package com.cloud.client2.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import java.util.Date;

/**
 * @author 24270
 */
@RestController
public class Client2Controller {

    @RequestMapping("/showInfo")
    @ResponseBody
    public String showInfo() {
        return "天津城建大学 - XXX";
    }

    @RequestMapping("/infoShow")
    @ResponseBody
    public String infoShow() {
        return new Date().toString();
    }
}
